﻿using System.Collections.Generic;
using System.Text;
using Abp;
using Abp.Runtime.Validation;
using yoyosoft.BookList.Dtos;

namespace yoyosoft.BookList.BookManagement.Books.Dto
{
    public class GetBookInput : PagedAndFilteredInputDto,IShouldNormalize
    {

        public void Normalize()
        {
            if (string.IsNullOrWhiteSpace(Sorting))
            {
                Sorting = "Id";
            }
        }
    }
}
